# main.py
import sys
from PyQt6.QtWidgets import QApplication

from core.main_window import MainWindow

if __name__ == "__main__":
	app = QApplication(sys.argv)
	
	# 加载样式表
	with open(r".\resources\styles\main_style.qss") as f:
		app.setStyleSheet(f.read())
	
	window = MainWindow()
	window.setMinimumSize(1024, 768)
	window.show()
	sys.exit(app.exec())
